import request from '@/utils/request'

// Ktv新增
export function insertKtv(data) {
  return request({
    url: '/system/ktv-room/insert',
    method: 'post',
    data:data
  })
}

// Ktv修改
export function editKtv(data) {
  return request({
    url: '/system/ktv-room/edit',
    method: 'post',
    data:data
  })
}

// Ktv信息
export function detailKtv(data) {
  return request({
    url: '/system/ktv-room/detail',
    method: 'post',
	data:data
  }) 
}


// 删除Ktv
export function delKtv(data) {
  return request({
    url: '/system/ktv-room/delete',
    method: 'post',
	data:data
  })
}

// Ktv列表
export function listKtv(query) {
  return request({
    url: '/system/ktv-room/list',
    method: 'get',
    params: query
  })
}

// Ktv预约配置列表
export function listKtvRoom(query) {
  return request({
    url: '/system/ktv-room-app-config/list',
    method: 'get',
    params: query
  })
}

// 删除Ktv预约配置列表
export function delKtvRoom(data) {
  return request({
    url: '/system/ktv-room-app-config/delete',
    method: 'post',
	data:data
  })
}

// Ktv预约配置列表新增
export function insertKtvRoom(data) {
  return request({
    url: '/system/ktv-room-app-config/insert',
    method: 'post',
    data:data
  })
}

// Ktv预约配置列表修改
export function editKtvRoom(data) {
  return request({
    url: '/system/ktv-room-app-config/edit',
    method: 'post',
    data:data
  })
}